package tree.structure;

/**
 * @user 26233
 * @create 2020-03-15 21:06:08
 * @description
 **/

public class TreeNode<T> {

    T value;
    public TreeNode<T> parent;
    public TreeNode<T> left;
    public TreeNode<T> right;



    public TreeNode() {
    }

    public TreeNode(T value) {
        this.value = value;
    }

    public T getValue() {
        return value;
    }
    public void setValue(T value) {
        this.value = value;
    }
}
